package com.outsource.framework.domain;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import org.codehaus.jackson.annotate.JsonIgnoreProperties;
import org.hibernate.annotations.GenericGenerator;

@Entity
@Table(name="t_haoduan")
@GenericGenerator(name="t_hd_identity",strategy="identity")
@JsonIgnoreProperties(value={"id","haoduanstart","haoduanend",
							"county","name","remark","status","createtime","updatetime"})
public class Thaoduan implements Serializable{
	
	private static final long serialVersionUID = 8613284986317655473L;

	@Id
	@Column(name="id",nullable=false,length=11)
	@GeneratedValue(generator="t_hd_identity")
	private Integer id;
	
	@Column(name="haoduan_start")
	private String haoduanstart;
	
	@Column(name="haoduan_end")
	private String haoduanend;
	
	@Column(name="province")
	private String province;

	@Column(name="city")
	private String city;
	
	@Column(name="county")
	private String county;
	
	@Column(name="name")
	private String name;
	
	@Column(name="remark")
	private String remark;
	
	@Column(name="status")
	private String status;
	
	@Column(name="create_time")
	private Date createtime;
	
	@Column(name="update_time")
	private Date updatetime;

	public Thaoduan(){}
	
	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getHaoduanstart() {
		return haoduanstart;
	}

	public void setHaoduanstart(String haoduanstart) {
		this.haoduanstart = haoduanstart;
	}

	public String getHaoduanend() {
		return haoduanend;
	}

	public void setHaoduanend(String haoduanend) {
		this.haoduanend = haoduanend;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getProvince() {
		return province;
	}

	public void setProvince(String province) {
		this.province = province;
	}

	public String getCity() {
		return city;
	}

	public void setCity(String city) {
		this.city = city;
	}

	public String getCounty() {
		return county;
	}

	public void setCounty(String county) {
		this.county = county;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public Date getCreatetime() {
		return createtime;
	}

	public void setCreatetime(Date createtime) {
		this.createtime = createtime;
	}

	public Date getUpdatetime() {
		return updatetime;
	}

	public void setUpdatetime(Date updatetime) {
		this.updatetime = updatetime;
	}

}
